﻿<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<!-- TemplateInfo codeOutsideHTMLIsLocked="true" -->
<ali:Get ID="Config" Object="InstanceConfig" Operation="GetBasicSettings()" />
<ali:Get ID="SystemConfig" Mark="System" Object="InstanceConfig" Operation="GetBasicSettings()" />
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>会员注册 - <%=Channel[Name]%> - <%=Site[Name]%></title>
<link rel="stylesheet" type="text/css" href="<%=CommonPath%>jquery/themes/lightness/all.css" />
<ali:Comment><link rel="stylesheet" type="text/css" href="S01/CHS/css/center.css" /></ali:Comment>
<link rel="stylesheet" type="text/css" href="<%=CssPath%>center.css" />
<script language="c#" runat="server">
protected string ContentLang
{
	get {return PageLang;}
}
</script>
<script type="text/javascript">
var _page = "register";
var _webPath = "<%=WebPath%>";
var _loginPath = "<%=BuildUrl("login")%>";
var _defaultRoleID = "<%=Config[DefaultRoleID]%>";
var _isNeedToCheck = <%=Config[IsNeedToCheck]%>;
var _lang_cant_register = "没有开通会员注册！";
var _lang_register_fail = "注册失败！";
var _lang_register_success_waite_for_check = "注册成功！需要管理员的审核才能登陆！请耐心等待审核通过！";
var _lang_register_success = "注册成功！";
var _lang_name_incorrect = "会员名不能为空！";
var _lang_name_exist = "会员名已被别人使用！";
var _lang_email_exist = "注册邮箱已被别人使用！";
var _lang_password_incorrect = "密码不能为空！";
var _lang_confirm_incorrect = "重复的密码跟原密码不一致！";
var _lang_password_question_incorrect = "密码问题不能为空！";
var _lang_password_answer_incorrect = "密码答案不能为空！";
var _lang_email_incorrect = "Email地址格式不正确！";
var _lang_check_code_incorrect = "请输入验证码！";
var _lang_birthday_incorrect = "生日格式不正确！";
</script>
</head>
<body>
<!-- TemplateBeginEditable name="菜单" -->
<div class="Wrap Menu">
	<ali:Menu Condition="IsDisplay=true and CategoryID IS NULL and ParentID IS NULL">
		<ali:Record>
			<ali:Select>
				<ali:Yes>
					<a href="<%=URL%>" target="<%=Target%>" title="<%=Name%>"><strong><%=Name%></strong></a>
				</ali:Yes>
				<ali:No>
					<a href="<%=URL%>" target="<%=Target%>" title="<%=Name%>"><%=Name%></a>
				</ali:No>
			</ali:Select>
			<ali:Separator>|</ali:Separator>
		</ali:Record>
	</ali:Menu>
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="广告位：会员 - Banner" -->
<div class="Wrap Ad1">
	<ali:Ad Guid="{8E84D790-12A5-4975-8A1E-9FB9754CDF43}">
		<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad1.jpg" alt="Ad" style="width:986px;height:70px" /></a>
	</ali:Ad>
</div>
<!-- TemplateEndEditable -->

<!-- TemplateBeginEditable name="路径" -->
<div class="Path">
	<label>当前位置：</label>
	<ali:Path IncludeCurrentChannel="True">
		<ali:Record> <a href="<%=URL%>"><%=Name%></a> &gt; </ali:Record>
	</ali:Path>
	会员注册
</div>
<!-- TemplateEndEditable -->

<div class="Wrap">
	<form action="">
		<table>
			<thead>
				<tr><th colspan="2">会员注册</th></tr>
			</thead>
			<tfoot>
				<tr>
					<td colspan="2">
						<input type="checkbox" id="Agreement" checked="checked" /><a href="<%=BuildUrl("agreement")%>">我已阅读注册协议</a><br />
						<input type="submit" value="注 册" />
						<input type="checkbox" id="More" /><label for="More">更多选项</label>
					</td>
				</tr>
			</tfoot>
			<tbody>
				<tr>
					<th>会员名：</th>
					<td><input type="text" name="Name" maxlength="50" class="<%=PageLang%>Font" /><em>*</em><span id="NameExist"></span></td>
				</tr>
				<tr>
					<th>密 码：</th>
					<td><input type="password" name="Password" maxlength="50" class="CHSFont" /><em>*</em></td>
				</tr>
				<tr>
					<th>重复密码：</th>
					<td><input type="password" name="Confirm" maxlength="50" class="CHSFont" /><em>*</em></td>
				</tr>
				<tr>
					<th>提示问题：</th>
					<td><input type="text" name="PasswordQuestion" maxlength="50" class="CHSFont" /><em>*</em></td>
				</tr>
				<tr>
					<th>问题答案：</th>
					<td><input type="text" name="PasswordAnswer" maxlength="50" class="CHSFont" /><em>*</em></td>
				</tr>
				<tr>
					<th>电子邮箱：</th>
					<td><input type="text" name="Email" size="30" maxlength="255" class="CHSFont" /><em>*</em><span id="EmailExist"></span></td>
				</tr>
				<tr class="Hidden">
					<th>真实姓名：</th>
					<td><input type="text" name="RealName" maxlength="50" class="<%=PageLang%>Font" /></td>
				</tr>
				<tr class="Hidden">
					<th>生日：</th>
					<td><input type="text" name="Birthday" class="Wdate CHSFont" /></td>
				</tr>
				<tr class="Hidden">
					<th>联系电话：</th>
					<td><input type="text" name="Phone" maxlength="50" class="CHSFont" /></td>
				</tr>
				<tr class="Hidden">
					<th>手机：</th>
					<td><input type="text" name="Mobile" maxlength="50" class="CHSFont" /></td>
				</tr>
				<tr class="Hidden">
					<th>通讯地址：</th>
					<td><input type="text" name="Address" size="50" maxlength="255" class="<%=PageLang%>Font" /></td>
				</tr>
				<tr class="Hidden">
					<th>邮编：</th>
					<td><input type="text" name="Zip" maxlength="50" class="CHSFont" /></td>
				</tr>
				<tr class="Hidden">
					<th>个人主页：</th>
					<td><input type="text" name="Homepage" size="50" maxlength="255" class="CHSFont" /></td>
				</tr>
				<tr class="Hidden">
					<th>QQ：</th>
					<td><input type="text" name="QQ" maxlength="50" class="CHSFont" /></td>
				</tr>
				<tr class="Hidden">
					<th>性别：</th>
					<td>
						<select name="SexID">
							<option value="">未指定</option>
							<ali:List Object="Sex">
								<ali:Record>
									<option value="<%=ID%>"><%=Name%></option>
								</ali:Record>
							</ali:List>
						</select>
					</td>
				</tr>
				<tr class="Hidden">
					<th>所在地区：</th>
					<td>
						<select name="RegionID">
							<option value="">未指定</option>
							<ali:Tree Object="Region">
								<ali:Control>
									<ali:Space>&nbsp;&nbsp;</ali:Space>
									<ali:Line>│</ali:Line>
									<ali:TopOpen>┌</ali:TopOpen>
									<ali:Top>┌</ali:Top>
									<ali:MiddleOpen>├</ali:MiddleOpen>
									<ali:Middle>├</ali:Middle>
									<ali:BottomOpen>└</ali:BottomOpen>
									<ali:Bottom>└</ali:Bottom>
								</ali:Control>
								<ali:Record>
									<option value="<%=ID%>"><%=Control%><%=Name%></option>
									<%=ChildRecords%>
								</ali:Record>
							</ali:Tree>
						</select>
					</td>
				</tr>
				<tr class="Hidden">
					<th>所属行业：</th>
					<td>
						<select name="IndustryID">
							<option value="">未指定</option>
							<ali:Tree Object="Industry">
								<ali:Control>
									<ali:Space>&nbsp;&nbsp;</ali:Space>
									<ali:Line>│</ali:Line>
									<ali:TopOpen>┌</ali:TopOpen>
									<ali:Top>┌</ali:Top>
									<ali:MiddleOpen>├</ali:MiddleOpen>
									<ali:Middle>├</ali:Middle>
									<ali:BottomOpen>└</ali:BottomOpen>
									<ali:Bottom>└</ali:Bottom>
								</ali:Control>
								<ali:Record>
									<option value="<%=ID%>"><%=Control%><%=Name%></option>
									<%=ChildRecords%>
								</ali:Record>
							</ali:Tree>
						</select>
					</td>
				</tr>
				<%If Convert.ToBoolean(SystemConfig[DisplayCheckCode])%>
					<tr>
						<th>验证码：</th>
						<td><input type="text" name="CheckCode" size="4" class="CHSFont" /><img id="CheckCodeImage" src="<%=WebPath%>alicms.aspx?Action=CheckCode" alt="点击图片重新生成" /></td>
					</tr>
				<%EndIf%>
			</tbody>
		</table>
	</form>
</div>

<!-- TemplateBeginEditable name="广告位：会员 - 网页底部" -->
<div class="Wrap Ad1">
	<ali:Ad Guid="{BCBBE7F2-CADC-45b8-ACBF-867B9F65A51C}">
		<a href="http://www.alicms.cn"><img src="<%=ImagePath%>ad/ad1.jpg" alt="Ad" style="width:986px;height:70px" /></a>
	</ali:Ad>
</div>
<!-- TemplateEndEditable -->

<div class="Wrap Footer"><%=Footer%></div>

<script type="text/javascript" src="<%=CommonPath%>jquery/core.js"></script>
<script type="text/javascript" src="<%=CommonPath%>jquery/ui.js"></script>
<script type="text/javascript" src="<%=CommonPath%>utility.js"></script>
<%If PageLang == "UYG" || PageLang == "KZA" || PageLang == "KGA"%>
	<script type="text/javascript" src="<%=CommonPath%>IlgharIme.js"></script>
<%EndIf%>
<script type="text/javascript" src="<%=CommonPath%>date_picker/date_picker.js"></script>
<script type="text/javascript" src="<%=JsPath%>center.js"></script>
</body>
</html>
